//
//  PhotoCollectionViewCell.m
//  结构
//
//  Created by 看着太阳吃烧饼 on 15/7/23.
//  Copyright (c) 2015年 看着太阳吃烧饼. All rights reserved.
//

#import "PhotoCollectionViewCell.h"

@implementation PhotoCollectionViewCell
- (id)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _scrollView = [[PhotoScrollView alloc] initWithFrame:self.bounds];
        _scrollView.tag = 100;
        [self.contentView addSubview:_scrollView];
    }
    return self;
}

- (void)setImageUrlStr:(NSString *)imageUrlStr {
    _imageUrlStr = imageUrlStr;
    _scrollView.imageUrlStr = imageUrlStr;
//    [self setNeedsLayout];
    
}

@end
